package com.homework.oop;

public class Cat {
  private String name;

  public Cat(String name) {
    this.name = name;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public static void main(String[] args) {
    //
    Cat tom = new Cat("tom");
    System.out.println(tom.getName());
  }
}
